import Vue from 'vue'
import App from './App'
import uview from 'uview-ui';
Vue.use(uview);
let mpShare = require('uview-ui/libs/mixin/mpShare.js');

// 配置公共方法
import common from './common/common.js'
Vue.prototype.$noMultipleClicks = common.noMultipleClicks;


Vue.mixin(mpShare);
Vue.mixin({
	data(){
		return{
			UserInfo:uni.getStorageSync('UserInfo')||'',
			// urlImg :"http://jiaoyou.zheyousoft.cn/api/app"// 本机开发测试地址              
			// urlImg:'http://192.168.1.16:9312',//本地测试
			urlImg:'https://xiuqiu.xiuqiu.cc/api/app',// 上线地址
		}
	}
})
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
